package com.gxa.mapper;

import com.gxa.param.MyTableParam;
import com.gxa.pojo.Contract;
import com.gxa.pojo.Empl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractMapper {


    List<Contract> findAllContract();

    List<Contract> findAll(@Param("param") MyTableParam param);

    void updateContract(@Param("contract") Contract contract);

    void saveContract(@Param("contract") Contract contract);

    void deleteAll(@Param("ids") String[] ids);

    void deleteOneById(@Param("contractId") Integer contractId);

    Contract findByPk(@Param("contractId") Integer contractId);

}
